//
//  CNSearchResultCollectionViewCell.h
//  BeeQuick_19
//
//  Created by kimi on 16/9/23.
//  Copyright © 2016年 CN Team. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CNHotSearchModel;
@class CNSearchResultCollectionViewCell;

// 1.协议
// 2.协议-代理方法
@protocol CNSearchResultCollectionViewCellDelegate <NSObject>

@optional
- (void)shopDetailOrderFoodCell:(CNSearchResultCollectionViewCell*)shopDetailOrderFoodCell didClickAddButton:(UIButton*)addButton;
@end

@interface CNSearchResultCollectionViewCell : UICollectionViewCell

@property (nonatomic,strong) CNHotSearchModel *hotSearchModel;
//图片
@property (weak, nonatomic) IBOutlet UIImageView *img;

//代理属性
@property (nonatomic,weak) id <CNSearchResultCollectionViewCellDelegate> delegate;

//增加count
@property (nonatomic,copy) void (^incCountBlock)();

//减少count
@property (nonatomic,copy) void (^desCountBlock)();

@end
